<template>
  <div id="app">
    <div id="nav">
      777
      <van-button type="info">信息按钮</van-button>
    </div>
  </div>
</template>
<script>
import { Button } from 'vant';
export default {
  name: "App",
  components: {
    [Button.name]: Button
  },
  mounted() {
    this.$toast("你好呀");
  },
};
</script>
<style lang="less">
body,html {
  width: 100%;
  height: 100%;
}
#app {
  width: 100%;
  height: 100%;
  max-width: 1024PX;
  margin: 0 auto;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

#nav {
  padding: 30px;
  a {
    font-weight: bold;
    color: #2c3e50;
    font-size: @font;

    &.router-link-exact-active {
      color: @primary;
    }
  }
}
</style>
